package com.wrench.elevator.install.dao;

import java.util.List;
import java.util.Map;

import org.springframework.ui.ModelMap;

public interface ElevatorDao
{
    
    /**
     * 激活电梯
     */
   /* int activationElevator(String province_id,String province_name,String city_id,String city_name,String district_id,String district_name,String building_id,String building_name,
        String zhuang_id,String zhuang_name,String danyuan_id,String danyuan_name,String device_alias,String start_loucen,
        String end_loucen,String user_id,String power);
    */
    int activationElevator(ModelMap map);
    /**
     * 设置楼层名称和性质
     */
    int setLoucenInfo(String elevator_id,String loucen_info);

    /**
     * 查看电梯按键详情
     */
    String loadElevatorInfo (String elevator);
    
    /**
     * 获取电梯列表
     */
    List<Map<String,Object>> loadElevatorList(String user_id,String power);
    
    String getDeviceAlias(String elevator_id);
    
}
